<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
?>
<?php use_helper('I18N') ?>
<h2>nidea</h2>
<form action="<?php echo url_for('@sf_guard_signin') ?>" method="post">
    <fieldset>
    <div align="center" style="height: 120px;">
        <table>
            <tbody>
              <?php echo $form ?>
            </tbody>
            <tfoot>
              <tr>
                <td colspan="2">
                  <input type="submit" value="<?php echo __('Inicio', null, 'sf_guard') ?>" />

                  <?php $routes = $sf_context->getRouting()->getRoutes() ?>
                  <?php if (isset($routes['sf_guard_forgot_password'])): ?>
                    <a href="<?php echo url_for('@sf_guard_forgot_password') ?>"><?php echo __('¿Has olvidado tu contraseña?', null, 'sf_guard') ?></a>
                  <?php endif; ?>

                  <?php if (isset($routes['sf_guard_register'])): ?>
                    &nbsp; <a href="<?php echo url_for('@sf_guard_register') ?>"><?php echo __('Registrarse', null, 'sf_guard') ?></a>
                  <?php endif; ?>
                </td>
              </tr>
            </tfoot>
          </table>
    </div>
    </fieldset>
</form>